package com.hj.javaweb.entity;

import com.alibaba.excel.annotation.ExcelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * (Student)实体类
 *
 * @author makejava
 * @since 2025-11-08 21:05:56
 */
@Data
public class Student implements Serializable {
    private static final long serialVersionUID = 540266772140716356L;
    @ExcelProperty(value = "id",index = 0)
    private Integer id;
    @ExcelProperty(value = "姓名",index = 1)
    private String name;
    @ExcelProperty(value = "年龄",index = 2)
    private Integer age;
    @ExcelProperty(value = "地址",index = 3)
    private String address;
    
    public Student() {}
    
    public Student( Integer id,String name, Integer age, String address) {
        this.id = id;
        this.name = name;
        this.age = age;
        this.address = address;
    }

}

